package com.vhall.component.entity.rbac.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author jingwen.li
 * @date 2022/3/7
 */
@Data
public class SetSortReqVO implements Serializable {

    private static final long serialVersionUID = -4819691547692931072L;
    @NotNull(message = "menu_id不能为空")
    @ApiModelProperty(value = "菜单ID")
    @JsonProperty("menu_id")
    @ParamName("menu_id")
    private Integer menuId;

    @NotNull(message = "sort不能为空")
    @ApiModelProperty(value = "序号")
    @JsonProperty("sort")
    @ParamName("sort")
    private Byte sort;
}
